home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 August: Tool Chest / Apple_Developer_CD_Series_August_1997_Tool_Chest.iso / Sample Code / Sound PreMixer effect / VU-Meter.h < prev    next >
Encoding:
Text File  |  1997-06-18  |  1.1 KB  |  33 lines  |  [TEXT/CWIE]

  1. /*
  2. **    Apple Macintosh Developer Technical Support
  3. **
  4. **    Sample pre-mixer sound component 
  5. **
  6. **    by Mark Cookson, Apple Developer Technical Support
  7. **
  8. **    File:    VU-Meter.h
  9. **
  10. **    Copyright ©1996 Apple Computer, Inc.
  11. **    All rights reserved.
  12. **
  13. **    You may incorporate this sample code into your applications without
  14. **    restriction, though the sample code has been provided "AS IS" and the
  15. **    responsibility for its operation is 100% yours.  However, what you are
  16. **    not permitted to do is to redistribute the source as "Apple Sample
  17. **    Code" after having made changes. If you're going to re-distribute the
  18. **    source, we require that you make it clear in the source that the code
  19. **    was descended from Apple Sample Code, but that you've made changes.
  20. */
  21.  
  22. // this header is shared by C and Rez
  23.  
  24.  
  25. #define kSoundComponentVersion    0x00010000        // version for this sound component
  26.  
  27. // codec type and Get/SetInfo selector, needs to be unique
  28. // your component's file type should be registered with DTS
  29. // this value is unique and can be used for your component's sub-type and selector
  30.  
  31. #define kVUSelectorSubType                'VMtr'            
  32.  
  33.